//
//  ITNetWorkHelper.h
//  GLPFinance
//
//  Created by ITBE on 16/10/28.
//  Copyright © 2016年 intube. All rights reserved.
//

#ifndef ITNetWorkHelper_h
#define ITNetWorkHelper_h
#import "AFNetworking.h"
#import "ITNetWorkGlobalVar.h"
#import "ITNetWorkModel.h"
typedef enum{
    SUCCESSREQUEST = 2000,
    NONEDATA,
    PARAMETERERROR,
    DATAEXCEPTION,
    ILLEGALREQUEST,
    UPDATEFAILED,
    WARNTYPE
}STATUSCODE;
#define TimeOut 10.0f

typedef void (^ApiSuccessCallback)(ITNetWorkModel *ret);

typedef void (^ApiFailedCallback)(ITNetWorkModel *ret);

typedef void (^ApiDownloadFileProgress)(float progress);

typedef void (^APIRequstCallBack)(ITNetWorkModel *ret);

#endif /* ITNetWorkHelper_h */
